/* ApprovalEditPage.css */
.approval-edit-container {
    padding: 24px;
    background-color: #f5f7fa;
    min-height: calc(100vh - 64px - 12px);
}

.approval-edit-page-header {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e8e8e8;
}

.approval-edit-page-header h2 {
    font-size: 20px;
    font-weight: 600;
    color: #1f2d3d;
    margin-bottom: 8px;
}

.approval-edit-page-header p {
    color: #5e6d82;
    margin: 0;
}

.approval-edit-toolbar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.approval-edit-search-area {
    display: flex;
    align-items: center;
}

.approval-edit-table {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.09);
}

.approval-edit-table .approval-edit-editable-cell {
    cursor: pointer;
    color: #1890ff;
    transition: color 0.3s;
}

.approval-edit-table .approval-edit-editable-cell:hover {
    color: #40a9ff;
    text-decoration: underline;
}

.approval-edit-table .approval-edit-remark-text {
    color: #666;
    font-size: 13px;
}

.approval-edit-attachments-list {
    display: flex;
    flex-direction: column;
}

.approval-edit-attachment-item {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
    font-size: 13px;
}

.approval-edit-attachment-item a {
    color: #1890ff;
}

.approval-edit-attachment-item a:hover {
    text-decoration: underline;
}

.approval-edit-no-attachments {
    color: #bfbfbf;
    font-style: italic;
}

.approval-edit-custom-upload {
    background: #fafafa;
    border-radius: 4px;
    padding: 8px;
}

.approval-edit-custom-upload .ant-upload-text {
    margin-bottom: 4px;
}

.approval-edit-custom-upload .ant-upload-hint {
    font-size: 12px;
    color: #8c8c8c;
}

.approval-edit-page-footer {
    margin-top: 24px;
    padding: 16px;
    background: #fff;
    border-radius: 8px;
    font-size: 13px;
    color: #5e6d82;
}

.approval-edit-footer-note ul {
    margin: 8px 0 0 20px;
    padding: 0;
}

.approval-edit-footer-note li {
    margin-bottom: 4px;
}

.approval-edit-id {
    font-family: monospace;
    color: #666;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .approval-edit-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .approval-edit-search-area {
        width: 100%;
        margin-top: 10px;
    }

    .approval-edit-search-area .ant-input-search {
        width: 100%;
    }
}

/* Modal表单样式 */
.ant-modal-body .ant-form-item {
    margin-bottom: 16px;
}

.ant-modal-body .ant-form-item-label {
    font-weight: 500;
}